package entity;

import lombok.Data;

import java.util.Date;

@Data
public class People {

    private Long id;
    private String name;
    private Date birthDay;
    private String sex;

    public People(Date birthDay, String sex){
        this.birthDay = birthDay;
        this.sex = sex;
    }

    void laugh(){
        System.out.println("People laugh!");
    }

}
